module.exports = {
  isLoading: false,
  show(title = '加载中') {
    this.isLoading = true
    wx.showLoading({
      title,
    })
  },
  hide() {
    this.isLoading = false
    wx.hideLoading()
  },
}